How To Use Custom Api Action To Call An Api Endpoint